CC=g++

.PHONY:all
all:TcpServer TcpClient

TcpServer:main.cc
	$(CC) -o $@ $^ -std=c++11 -lpthread
	
TcpClient:TcpClient.cc
	$(CC) -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f TcpServer TcpClient